<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_webroot('skin/css/admin.css'); ?>">
<link rel="stylesheet" type="text/css" href="<?php echo $this->_webroot('skin/css/main.css'); ?>">
<script type='text/javascript' src="<?php echo $this->_webroot('skin/js/jy.js'); ?>"></script>
<style>
td span {color:red;}
.green {color:green;}
.red {color:red;}
#divname{float:left; margin:0px;}
</style>
</head>
<body>
<input type="hidden" id="update_right" value="1" ></input>
<div id="maincontent">
	<div class="wrap">
    <div class="crumbs">当前位置 &gt;&gt; 交易管理 &gt;&gt; 投诉标题管理</div>
        <hr />

	<div class="infobox">
    <h3><span class="left">投诉标题管理</span><span style="margin-right:15px;" class="right"><a href="<?php echo $this->_url('admin/complaint/typelist/');?>">投诉标题列表</a></span></h3>
    <div class="content2">
		<form action="<?php echo $this->_url('admin/complaint/typedoedit/');?>" name="form1" id="form1" method="post" onsubmit="return check();">
		<table class="form-table">
		   <tbody>
			<tr>
				<td width="60px">投诉标题：</td>
				<td><input type="text" class="small-text" name="type_content" value="<?php echo $result['type_content'];?>" />
				<input type="hidden" name="type_id" value="<?php echo $result['id'];?>"/></td>
			</tr>
			<tr>
				<td colspan="2"><input class="regular-button" type="submit" value="确定" /></td>
			</tr>
			</tbody>
		</table>
		</form>
	   </dov>
	  </div>
	</div>	

	</div>
</div>
<script language="JavaScript">
function check(){
	var type_content = document.getElementsByName("type_content")[0];
	if(type_content.value==''){
		ShowMessageBox("请输入投诉标题",'0');
		return false;
		}
	return true;
}
</script>
</body>
</html>